<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>基于 layui 的极简社区页面模版</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="fly,layui,前端社区">
    <meta name="description" content="Fly社区是模块化前端UI框架Layui的官网社区，致力于为web开发提供强劲动力">
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/css/global.css}">
</head>
<body>
<div class="main">
    <a style="background: url('../static/images/logo.png')" th:href="@{/page/index}" title="Fly">Fly社区</a>
    <div class="nav">
        <a class="nav-this" th:href="@{/page/index}">
            <i class="iconfont icon-wenda"></i>问答
        </a>
        <a href="https://www.knowledge-code.com/" target="_blank">
            <i class="iconfont icon-ui"></i>博客
        </a>
    </div>

    <div class="nav-user">
        <!-- 未登入状态 -->
        <a class="unlogin" th:href="@{/page/login}"><i class="iconfont icon-touxiang"></i></a>
        <span>
            <a th:href="@{/page/login}">登入</a>
            <a th:href="@{/page/reg}">注册</a>
        </span>
<!--        <p class="out-login">-->
<!--            <a href="" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq"-->
<!--               title="QQ登入"></a>-->
<!--            <a href="" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})"-->
<!--               class="iconfont icon-weibo" title="微博登入"></a>-->
<!--        </p>-->

        <!-- 登入后的状态 -->
        <!--
        <a class="avatar" href="user/index.html">
          <img src="http://tp4.sinaimg.cn/1345566427/180/5730976522/0">
          <cite>贤心</cite>
          <i>VIP2</i>
        </a>
        <div class="nav">
          <a href="/user/set/"><i class="iconfont icon-shezhi"></i>设置</a>
          <a href="/user/logout/"><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退了</a>
        </div> -->

    </div>
</div>
</body>
</html>